/**
 * 
 */
package com.gragra.sampling.binary;
import com.gragra.sampling.sequentialStructure.WordAndTagHolder;
/**
 * @author Christoph Teichmann
 * 21.09.2013
 */
public class GeneratorForBinaryGibbs extends GeneratorForBinaryCorpus
{
	/**
	 * @param sampleHead
	 * @param conv
	 */
	public GeneratorForBinaryGibbs(boolean sampleHead, ConverterFactory conv)
	{super(sampleHead, conv);}
	/* (non-Javadoc)
	 * @see com.gragra.sampling.binary.GeneratorForBinaryCorpus#makeBinaryStructure(java.lang.String)
	 */
	@Override
	public BinaryStructure makeBinaryStructure(String line, int threads, double smooth)
	{
		WordAndTagHolder wth = this.transfer(line);
		return new BinaryGibbs(wth, threads, this.getConverter(), this.sampleHead());
	}
}